package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 交易服务模板信息对象 sys_transaction_service
 * 
 * @author ruoyi
 * @date 2025-10-28
 */
public class SysTransactionService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板id */
    private Long moduleId;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String moduleName;

    /** 销售方式 */
    @Excel(name = "销售方式")
    private String saleType;

    /** 是否默认模板 */
    @Excel(name = "是否默认模板")
    private String isDefault;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isEnabled;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 西药(%) */
    @Excel(name = "西药(%)")
    private BigDecimal xy;

    /** 中成药(%) */
    @Excel(name = "中成药(%)")
    private BigDecimal zcy;

    /** 中药饮品(%) */
    @Excel(name = "中药饮品(%)")
    private BigDecimal zyyp;

    /** 医疗器械(%) */
    @Excel(name = "医疗器械(%)")
    private BigDecimal ylqx;

    /** 非药(%) */
    @Excel(name = "非药(%)")
    private BigDecimal fy;

    /** 适用供应商 */
    @Excel(name = "适用供应商")
    private Integer suppliers;

    public void setModuleId(Long moduleId)
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId()
    {
        return moduleId;
    }

    public void setModuleName(String moduleName)
    {
        this.moduleName = moduleName;
    }

    public String getModuleName()
    {
        return moduleName;
    }

    public void setSaleType(String saleType) 
    {
        this.saleType = saleType;
    }

    public String getSaleType() 
    {
        return saleType;
    }

    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    public void setIsEnabled(String isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled() 
    {
        return isEnabled;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setXy(BigDecimal xy) 
    {
        this.xy = xy;
    }

    public BigDecimal getXy() 
    {
        return xy;
    }

    public void setZcy(BigDecimal zcy) 
    {
        this.zcy = zcy;
    }

    public BigDecimal getZcy() 
    {
        return zcy;
    }

    public void setZyyp(BigDecimal zyyp) 
    {
        this.zyyp = zyyp;
    }

    public BigDecimal getZyyp() 
    {
        return zyyp;
    }

    public void setYlqx(BigDecimal ylqx) 
    {
        this.ylqx = ylqx;
    }

    public BigDecimal getYlqx() 
    {
        return ylqx;
    }

    public void setFy(BigDecimal fy) 
    {
        this.fy = fy;
    }

    public BigDecimal getFy() 
    {
        return fy;
    }

    public Integer getSuppliers() {
        return suppliers;
    }

    public void setSuppliers(Integer suppliers) {
        this.suppliers = suppliers;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modualId", getModuleId())
            .append("modualName", getModuleName())
            .append("saleType", getSaleType())
            .append("isDefault", getIsDefault())
            .append("isEnabled", getIsEnabled())
            .append("userId", getUserId())
            .append("xy", getXy())
            .append("zcy", getZcy())
            .append("zyyp", getZyyp())
            .append("ylqx", getYlqx())
            .append("fy", getFy())
            .toString();
    }
}
